home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / snip0493.zip / BIPORT.C < prev    next >
C/C++ Source or Header  |  1993-04-05  |  331b  |  17 lines

  1. /*
  2. **  BIPORT.C - Port TC/TC++/BC++ code using register pseudovariables
  3. **
  4. **  public domain by Bob Stout
  5. */
  6.  
  7. #include "biport.h"
  8.  
  9. union  REGS  BIP_regs_;
  10. struct SREGS BIP_sregs_;
  11.  
  12. unsigned _pascal geninterrupt(int int_no)
  13. {
  14.       int86x(int_no, &BIP_regs_, &BIP_regs_, &BIP_sregs_);
  15.       return BIP_regs_.x.ax;
  16. }
  17.